import init_css from './init_css';
import init_other from './init_other';
import init_core from './init_core';
import VueRouter from 'vue-router';
import router from '../router';
import ElementUI from 'element-ui';
import Directives from '../lib/Directives';
import PluginLoading from '../lib/Plugin-loading';
import PluginToPage from '../lib/Plugin-toPage';
import Api from '../lib/Http/Api';
import { Loading } from 'element-ui';

import 'swiper/swiper-bundle.min.css'

import 'swiper/swiper.min.css'   //需要在单独把这个css引入
import VueAwesomeSwiper from 'vue-awesome-swiper'  //引入这个npm包

import 'element-ui/lib/theme-chalk/index.css';
import Print from 'vue-print-nb';
let loadingInstance = Loading.service();
init_css();
init_other(
  ElementUI,
  VueAwesomeSwiper,
  VueRouter,
  Print,
  Directives,
  Api,
  PluginLoading,
  PluginToPage
);
init_core({ router });
loadingInstance.close();
